/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package treccontextsug;

import java.io.IOException;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import org.json.simple.parser.ParseException;

/**
 *
 * @author manzato
 */
public abstract class Parser {
    protected JSONParser parser;
    protected JSONObject jsonObject;
    protected String filename;
    
    public Parser(String filename) {
        parser = new JSONParser();
        this.filename = filename;
    }
    
    public abstract void readJSON() throws IOException, ParseException;
}
